<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>

</body>
<script>
    function Fn(x) {
        this.qqq = 11
    }

    function Bn(x) {
        // this.qqq = x.name
        Fn.call(this, x);
        this.vvv = x.age
    }
    var abb = new Bn({
        name: "wu",
        age: 15
    });
    console.log(abb);
    console.log(abb.qqq);
    console.log(abb.vvv);
    // var qqq =12;
    // Fn();
    // this.qqq = 11
    // console.log(qqq)
</script>

</html>